<div class="user-center-head"><?php echo L('my_bonus');?> </div>
<table class="table-list">
  <tr>
    <th width="20%"><?php echo L('ORDER_NUMBER');?></th>
    <th width="15%"><?php echo L('hours_of_use');?></th>
    <th width="15%"><?php echo L('the_amount_of_consumption');?></th>
    <th width="20%"><?php echo L('useful_life');?></th>
    <th width="20%"><?php echo L('denomination');?></th>
    <th width="10%"></th>
  </tr>
  <?php 
  if(isset($bonusList) && $bonusList):
    foreach ($bonusList as $bonus) :
  ?>
  <tr>
    <td><?php echo $bonus['bonus_sn'];?></td>
    <td><?php if($bonus['used_time'] == 0) echo L('unused'); else echo date('Y-m-d H:i:s',$bonus['used_time']);?></td>
    <td><?php echo $bonus['min_amount'];?></td>
    <td><?php echo $bonus['use_end_date'];?></td>
    <td><?php echo currency($bonus['type_money']);?></td>
    <td><?php if($bonus['is_share']==0):?><a href="/special/fortunewheel?show=activate" style="color:#ff9600;"><?php echo L('fortunewheel_action');?></a><?php endif;?></th>
  </tr>
  <?php endforeach;
    else:
  ?>
  <tr>
    <td colspan="6" class="no-record"><?php echo L('norecords');?></td>
  </tr>
  <?php endif;?>
</table>
<div class="page"><?php echo $pageShow;?></div>